import os
import time
import ddddocr
import pyperclip
from selenium.webdriver.common.action_chains import ActionChains
import pyautogui
from selenium import webdriver

from config import FMT_PATH, BASE_DIR


driver = webdriver.Chrome(executable_path=r"C:\Users\dxs\Desktop\chromedriver.exe")
driver.maximize_window()
driver.get("http://www.baidu.com")
# driver.find_element_by_css_selector("input#kw.s_ipt").send_keys(3)
driver.find_element_by_css_selector("a.mnav.c-font-normal.c-color-t").clicak()
time.sleep(3)
# driver.execute_script("window.open('http://30.1.6.112:10086/bht_web/html/login.html')")
time.sleep(2)
print(driver.current_url)


